package com.ljh.lottery.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author: Themberfue
 * @date: 2025/4/11 12:09
 * @description:
 */
@Data
public class CreatePrizeRequest {
    /**
     * 奖品名
     */
    @NotBlank(message = "奖品名不能为空！")
    private String prizeName;
    /**
     * 描述
     */
    private String description;
    /**
     * 价格
     */
    @NotNull(message = "奖品价格不能为空！")
    private BigDecimal price;
}
